package com.pactera.asmp.server.service;

import com.pactera.asmp.server.entity.ScriptGroupSearchDTO;
import com.pactera.asmp.server.pojo.ScriptGroupInfo;
import com.pactera.asmp.server.utils.PageDataResult;

import java.util.List;

/**
 * @ProjectName: server
 * @Package com.pactera.asmp.server.service
 * @ClassName: IScriptGroupServcie
 * @Description: IScriptGroupServcie
 * @Date 2020/06/28 16:49
 * @Author lvzhiqiang
 * @Version 1.0
 */
public interface IScriptGroupServcie {

    Integer insert(ScriptGroupInfo scriptGroupInfo);

    boolean update(ScriptGroupInfo scriptGroupInfo);

    PageDataResult select(ScriptGroupSearchDTO scriptGroupSearchDTO);

    PageDataResult selectScriptGroupInfo(ScriptGroupSearchDTO scriptGroupSearchDTO);

    boolean deleteGroupAndScriptRelByGID(List<Integer> groupIds);

    boolean deleteInGroupThisScriptRel(Integer groupId, List<Integer> scriptIds);



}
